import request from '@/utils/request'

const api_name = '/edu/teacher';

export default {
    getTeacher(){
        return request({
            url: api_name+'/list',
            method: 'get',
        })
    },

    getTeacherById(id) {
        return request({
            url: api_name+'/getTeacher/'+id,
            method: 'get'
        })
    },
}